/**
 * @author: lk
 * @data: 2021/11/11 13:20
 */
package core_java.inheritance;

/**
 * final类不能被继承。
 */
public final class Executive extends  Manager{
    public Executive(String name, double salary, int year, int month, int day, double bonus) {
        super(name, salary, year, month, day, bonus);
    }
}

/**
 * 会报错
 */
//class kdasj extends Executive {
//    public kdasj(String name, double salary, int year, int month, int day, double bonus) {
//        super(name, salary, year, month, day, bonus);
//    }
//}

